package interfaces;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import rmiClient.score;

public interface Client_ITF extends Remote, Serializable {
	
	/**
	 * Allow the serveur to add a new neighbor to the client
	 * 
	 * @param newNeighbor
	 * @throws RemoteException
	 */
	public void addNeighbor(Client_ITF newNeighbor) throws RemoteException;
	
	/**
	 * Allow the serveur to remove a neighbors from the client
	 * 
	 * @param newNeighbor
	 * @throws RemoteException
	 */
	public void removeNeighbor(Client_ITF neighbor) throws RemoteException;
	

	public score election(String electionId) throws RemoteException;
	
	public ArrayList<Client_ITF> getNeighbors() throws RemoteException;
}
